package com.oymn.myapplication.entity;

public class Goods {
    private int goods_id;
    private String goods_name;
    private String goods_introl;
    private double goods_price;
    private String goods_category;
    private String goods_picture;
    private int goods_state;

    public Goods() {
    }

    public Goods(int goods_id, String goods_name, String goods_introl, double goods_price, String goods_category, String goods_picture, int goods_state) {
        this.goods_id = goods_id;
        this.goods_name = goods_name;
        this.goods_introl = goods_introl;
        this.goods_price = goods_price;
        this.goods_category = goods_category;
        this.goods_picture = goods_picture;
        this.goods_state = goods_state;
    }

    public int getGoods_id() {
        return goods_id;
    }

    public void setGoods_id(int goods_id) {
        this.goods_id = goods_id;
    }

    public String getGoods_name() {
        return goods_name;
    }

    public void setGoods_name(String goods_name) {
        this.goods_name = goods_name;
    }

    public String getGoods_introl() {
        return goods_introl;
    }

    public void setGoods_introl(String goods_introl) {
        this.goods_introl = goods_introl;
    }

    public double getGoods_price() {
        return goods_price;
    }

    public void setGoods_price(double goods_price) {
        this.goods_price = goods_price;
    }

    public String getGoods_category() {
        return goods_category;
    }

    public void setGoods_category(String goods_category) {
        this.goods_category = goods_category;
    }

    public String getGoods_picture() {
        return goods_picture;
    }

    public void setGoods_picture(String goods_picture) {
        this.goods_picture = goods_picture;
    }

    public int getGoods_state() {
        return goods_state;
    }

    public void setGoods_state(int goods_state) {
        this.goods_state = goods_state;
    }

    @Override
    public String toString() {
        return "Goods{" +
                "goods_id=" + goods_id +
                ", goods_name='" + goods_name + '\'' +
                ", goods_introl='" + goods_introl + '\'' +
                ", goods_price=" + goods_price +
                ", goods_category='" + goods_category + '\'' +
                ", goods_picture='" + goods_picture + '\'' +
                ", goods_state=" + goods_state +
                '}';
    }
}
